home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Digital Signatures / Digital Signature Demo / Source ƒ / DemoApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-11  |  929 b   |  40 lines  |  [TEXT/KAHL]

  1. /*
  2.  * DemoApp.h
  3.  * Digital Signature demo application class. This is
  4.  * defined as a subclass of the Think Class Library
  5.  * CEditApp sample application. It adds "Sign File"
  6.  * and "Verify File" menu items and their associated
  7.  * methods.
  8.  *
  9.  */
  10.  
  11. #define    _H_DemoApp        /* Include this file only once */
  12. #include "CEditApp.h"
  13. #include "Demo.h"
  14.  
  15. class                DemoSignedObject;
  16. class                DemoSignedObjectDialog;
  17.  
  18. struct DemoApp : CEditApp {
  19. private:
  20.         DemoSignedObject            *itsDemoSignedObject;
  21.         DemoSignedObjectDialog        *itsDemoSignedObjectDialog;
  22.  
  23. public:
  24.         void                    IDemoApp(void);
  25.         void                    RemovePatches(void);
  26.         void                    SetUpFileParameters(void);
  27.         void                    SetUpMenus(void); 
  28.         void                    DoCommand(
  29.             long                    theCommand
  30.         );
  31.         void                    UpdateMenus(void);
  32.         void                    OpenDocument(
  33.             SFReply                    *macSFReply
  34.         );
  35.         void                    OpenSignedDocument(
  36.             SFReply                    *macSFReply
  37.         );
  38.         void                    CreateSignedDocument(void);
  39. };
  40.